/**
 *                            License
 * THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS  
 * CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). 
 * THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW.  
 * ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR  
 * COPYRIGHT LAW IS PROHIBITED.
 * 
 * BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND  
 * AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE  
 * MAY BE CONSIDERED TO BE A CONTRACT,
 * THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED 
 * HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
 * 
 */
package lineage.database.tables.bean;

/**
 * 经验资料表相关的可重用类.
 * 
 * @version 2014年3月22日上午11:25:04
 * @author jrwz
 */
public final class L1Exp {
    /** 等级. */
    private int level;
    /** 经验值. */
    private long exp;
    /** 倍率、惩罚. */
    private double expPenalty;

    /**
     * 取得等级.
     * 
     * @return 等级
     */
    public int getLevel() {
        return level;
    }

    /**
     * 设置等级.
     * 
     * @param level
     *            - 要设置的等级
     */
    public void setLevel(int level) {
        this.level = level;
    }

    /**
     * 取得经验值.
     * 
     * @return 经验值
     */
    public long getExp() {
        return exp;
    }

    /**
     * 设置经验值.
     * 
     * @param exp
     *            - 要设置的经验值
     */
    public void setExp(long exp) {
        this.exp = exp;
    }

    /**
     * 取得倍率、惩罚.
     * 
     * @return 倍率、惩罚
     */
    public double getExpPenalty() {
        return expPenalty;
    }

    /**
     * 设置倍率、惩罚.
     * 
     * @param expPenalty
     *            - 要设置的倍率、惩罚值
     */
    public void setExpPenalty(double expPenalty) {
        this.expPenalty = expPenalty;
    }
}
